package com.dingreading.cloud.soms.dto.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.alibaba.excel.metadata.data.WriteCellData;
import lombok.Data;

import java.io.Serializable;

@Data
@HeadRowHeight(25)
@ContentRowHeight(25)
@ColumnWidth(17)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 13)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class CallNameVo implements Serializable {

    @ExcelProperty(value = "会员名称")
    private String memberName;

    @ExcelProperty(value = "活动次数")
    private Integer lessonNum;

    @ColumnWidth(20)
    @ExcelProperty(value = "门店名称")
    private String storeName;

    @ColumnWidth(23)
    @ExcelProperty(value = "活动日期")
    private String teachDate;

    @ColumnWidth(10)
    @ExcelProperty(value = "星期")
    private String weekName;

    @ExcelProperty(value = "社团名称")
    private String className;

    @ExcelProperty(value = "服务项目名称")
    private String productName;

    @ExcelProperty(value = "服务阶段名称")
    private String stageName;

    @ExcelProperty(value = "活动室名称")
    private String roomName;

    @ExcelProperty(value = "主讲导读")
    private String teacherName;

    @ExcelProperty(value = "联系电话")
    private String mob;

    @ExcelProperty(value = "会员类型")
    private String studentTypeName;

    @ExcelProperty(value = "活动状态")
    private WriteCellData<String> statusName;

    @ExcelProperty(value = "参与状态")
    private WriteCellData<String> callStatusName;

    @ExcelProperty(value = "活动消耗类型")
    private WriteCellData<String> hourType;

    @ColumnWidth(20)
    @ExcelProperty(value = "完成时间")
    private String closeTime;

    @ExcelProperty(value = "课消金额")
    private Double unitAmount;

}
